<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>模版录入</title>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>


<script type="text/javascript">
function checkdata(){
	  if ( $("#name").val() == '' ) {
		  alert("带*的值必须录入");
		  return false;
	  }
	return true;
}
</script>
</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="<%=request.getContextPath()%>/admin/master">模版录入</a></li>
    </ul>
    </div>
    
<div class="formbody">
    
    <div class="formtitle"><span>签证事件模版录入</span></div>
    <form:form action="${ctx}/admin/masteradd" method="post" modelAttribute="maste" >
    <ul class="forminfo">
    <li><label>事件名称</label><input id="name" name="name" type="text" value="${maste.name}" class="dfinput" /><i>*</i></li>
    <li><label>&nbsp;</label><input name="" type="submit" onclick="javascript:return checkdata()" class="btn" value="确认保存"/></li>
    </ul>
    
    </form:form>
    </div>
    
    

</body>

</html>
